package com.crazymakercircle.dhptester.constants.enums;

public enum TaskStatusEnum {
    /**
     * 任务状态
     */
    INIT(0,"初始化"),
    RUNNING(1,"运行中"),
    SUCCESS(2,"成功"),
    FAILED(3,"失败"),

    TIMEOUT(4,"超时"),
    CANCELED(5,"取消"),;

    TaskStatusEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private int value;
    private String desc;
}
